package com.ttmusic.view;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.TextView;

/**
 * 自定义永远获得焦点的TextView
 * @author wuchangyong
 *
 */
public class FocusedTextView extends TextView {

	public FocusedTextView(Context context, AttributeSet attrs, int defStyleAttr) {  
        super(context, attrs, defStyleAttr);  
    }  
  
    public FocusedTextView(Context context, AttributeSet attrs) {  
        super(context, attrs);  
    }  
  
    public FocusedTextView(Context context) {  
        super(context);  
    }
    
    @Override  
    public boolean isFocused() {  
        return true;   //返回一个ture就可以永远获取焦点  
    } 

}
